package com.example.springbootrabbitmq.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;

import java.sql.Timestamp;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author hl
 * @since 2020-06-10
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
public class MessageLog implements Serializable {

    private static final long serialVersionUID=1L;

    @TableId(value = "id",type = IdType.UUID)
    private String id;

    @TableField("message")
    private String message;

    @TableField("try_count")
    private Integer tryCount;

    @TableField("status")
    private String status;

    @TableField("next_try")
    private Timestamp nextTry;

    @TableField("create_time")
    private Timestamp createTime;

    @TableField("update_time")
    private Timestamp updateTime;


}
